//
//  TopNaviView.h
//  EthWalletSDK-UIDemo
//
//  Created by 邓昊 on 2018/6/29.
//  Copyright © 2018年 yiren. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^BackBlock)();
typedef void (^RightBlock)();
@interface TopNaviView : UIView
@property (nonatomic, copy) BackBlock  backBlock;
@property (nonatomic, copy) RightBlock rightBlock;
@property (nonatomic, strong) UILabel  *label;
@property (nonatomic, strong) UIButton *backBtn;
@property (nonatomic, strong) UILabel  *rightLabel;

@property (nonatomic, strong) UIImageView   *rightImageView;
@property (nonatomic, strong) UILabel       *numOfGold;
@property (nonatomic, strong) UIImageView   *goldImageView;

@property (nonatomic, strong) UIButton   *calendarBtn;  //日历控件
@property (nonatomic, strong) UIButton   *selectBtn;    //选择器

@property (nonatomic, strong) UIButton  *dismissBtn;
@property (nonatomic, strong) UIImageView   *lineImageView;

@property (nonatomic, strong) UIButton   *deleteBtn;    //删除btn
@property (nonatomic, strong) UIButton   *rightBtn;    //规则说明btn

- (instancetype)initWithRight:(NSString*)string;
- (void)setupUIforQuiz;
- (void)rightAction;
- (void)setupRightLabelForName: (NSString *)str; //添加右边button
- (void)setupRightImageForName: (NSString *)str; //添加右边button img
@end
